package com.cordershy.pojo;

import org.springframework.stereotype.Component;

@Component
public class code {
    private String code;
    private String username;

    public code() {
    }

    public code(String code, String username) {
        this.code = code;
        this.username = username;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getCode() {
        return code;
    }

    public String getUsername() {
        return username;
    }

    @Override
    public String toString() {
        return "code{" +
                "code='" + code + '\'' +
                ", username='" + username + '\'' +
                '}';
    }
}
